<template>
  <view>
    <template v-if="mode == 'region'">
      <picker-region-view :formData="modelData"></picker-region-view>
    </template>
    <template v-else>
      <picker-num-view :formData="modelData" :mode="mode"></picker-num-view>
    </template>
  </view>
</template>

<script setup>
import PickerRegionView from "./picker/picker-region.vue";
import PickerNumView from "./picker/picker-num.vue";
import PickerItemView from "./picker/picker-item.vue";

const props = defineProps({
  mode: {
    type: String,
    default: "",
  },

  modelData: {
    type: Object,
    default: () => {},
  },
});
</script>

<style lang=scss scoped>
</style>